repo: Clean up staging directory for previous boot IDs
authorColin Walters <walters@verbum.org>
Wed, 13 Jan 2016 16:33:54 +0000 (11:33 -0500)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Mon, 2 May 2016 18:44:44 +0000 (18:44 +0000)
commita56ba6081a465a3b97bd689459d6260c447d21c0
treeaa35a8cc5605bad518be63d6a88ea708f549b53f
parente3ec83a934159d16dacf940b22e80446a79c6595
repo: Clean up staging directory for previous boot IDs

We had a policy of cleaning up all files in `$repo/tmp` older
than one day, but we should really clean up previous bootid staging
directories too, as they can potentially take up a lot of disk space.

https://bugzilla.gnome.org/show_bug.cgi?id=760531

Closes: #170
Approved by: jlebon
Makefile-tests.am
src/libostree/ostree-fetcher.c
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c
tests/test-admin-deploy-bootid-gc.sh [new file with mode: 0755]